package zzg.study.protocol.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import zzg.study.protocol.Packet;

import static zzg.study.protocol.command.Command.LOGIN_REQUEST;

/**
 * @Classname LoginRequestPacket
 * @Description 登录请求packet
 * @Date 2023/11/28 21:45
 * @Author zhuzhenguo
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LoginRequestPacket extends Packet {

    private String userName;

    private String password;

    @Override
    public Byte getCommand() {

        return LOGIN_REQUEST;
    }

}
